//
//  JMProductModel.h
//  NewiOSProject
//
//  Created by apple on 2023/9/16.
//  Copyright © 2023 范智渊. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
//"loanAmount": 500,
//    "term": 7,
//    "termUnit": 1,
//    "actualAmount": 350,
//    "repayTotalAmount": 500,
//    "adminAmount": 125,
//    "interestAmount": 0,
//    "repaymentPlanTime": "1695398400000",
//    "iva": 25,
//    "bankName": "BBVA BANCOMER",
//    "bankCard": "6217858000065222"
@interface JMProductModel : NSObject<NSCopying>
@property (nonatomic, strong) NSArray  * pairs;


@property (nonatomic,copy)NSString *name;
///年利率
@property (nonatomic,copy)NSString *apr;
///产品图
@property (nonatomic,copy)NSString *slogan;
@property (nonatomic,copy)NSNumber *amount;
///产品期限
@property (nonatomic,copy)NSNumber *term;
///周期单位 1：天2：月
@property (nonatomic,copy)NSNumber *termUnit;


@property (nonatomic,copy)NSNumber *isReloan;
@property (nonatomic,copy)NSString *tag;
//产品 详细信息
@property (nonatomic,copy)NSNumber *id;
///实际到账金额,实际到账金额=借款金额-管理费-税费 ,
@property (nonatomic,copy)NSNumber *actualAmount;
///总还款额
@property (nonatomic,copy)NSNumber *repayTotalAmount;
///还款时间
@property (nonatomic,copy)NSString *repaymentPlanTime;
///税费
@property (nonatomic,copy)NSNumber *iva;
///利息费
@property (nonatomic,copy)NSNumber *interestAmount;
///管理费 ,
@property (nonatomic,copy)NSNumber *adminAmount;
///贷款金额
@property (nonatomic,copy)NSNumber *loanAmount;
@property (nonatomic,copy)NSString *bankName;
@property (nonatomic,copy)NSString *bankCard;

//MARK: - 我的银行卡使用
@property (nonatomic,copy)NSString *productName;
@property (nonatomic,copy)NSString *productId;

//MARK: - 自增
///周期和单位拼接
@property (nonatomic,copy)NSNumber *termString;
@property (nonatomic,assign)BOOL isFold;
@property (nonatomic,assign)NSInteger row;
@end




@interface JMProductPackageListModel : NSObject

@property (nonatomic,copy)NSNumber *amount;
@property (nonatomic,copy)NSArray<JMProductModel*> *ProductPackageList;

@end

NS_ASSUME_NONNULL_END
